<?php
namespace App\Core;


class Interceptor
{
    const STEP_CONTINUE = 1;
    const STEP_BREAK = 2;
    const STEP_EXIT = 3;
    /**
     * @var App
     */
    private $_app;

    public function __construct(App $app)
    {
        $this->_app = $app;
    }

    public function __destruct()
    {
    }

    public function init()
    {
    }

    public function destroy()
    {
    }

    public function before()
    {
        return self::STEP_CONTINUE;
    }

    public function after()
    {
        return self::STEP_CONTINUE;
    }
}